package com.atwei.mango.business.school.service;

import com.atwei.mango.business.school.mapper.SchoolMapper;
import com.atwei.mango.business.school.model.StudentModel;
import com.atwei.mango.business.school.model.TeacherModel;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Classname SchoolService
 * @Description 
 * @Date 2022/5/25 18:35
 * @Author liuwei
 */
@Service
public class SchoolService {

    @Resource
    SchoolMapper schoolMapper;

    public void test(){
        List<StudentModel> studentModels = schoolMapper.getStudentModels();
        System.out.println(studentModels);

        List<TeacherModel> teacherModels = schoolMapper.getTeacherModels();
        System.out.println(teacherModels);

    }
}
